include ../config.mk

.PHONY: all clean rebuild install uninstall

all:
	$(MAKE) -C util all
	$(MAKE) -C listener all
	$(MAKE) -C api all
	$(MAKE) -C cmdline all
	$(MAKE) -C connection all
	$(MAKE) -C connections all
	$(MAKE) -C start all
	$(MAKE) -C cachemanager all
	$(MAKE) -C scaler all

clean:
	$(MAKE) -C util clean
	$(MAKE) -C listener clean
	$(MAKE) -C api clean
	$(MAKE) -C cmdline clean
	$(MAKE) -C connection clean
	$(MAKE) -C connections clean
	$(MAKE) -C start clean
	$(MAKE) -C cachemanager clean
	$(MAKE) -C scaler clean

rebuild:
	$(MAKE) -C util rebuild
	$(MAKE) -C listener rebuild
	$(MAKE) -C api rebuild
	$(MAKE) -C cmdline rebuild
	$(MAKE) -C connection rebuild
	$(MAKE) -C connections rebuild
	$(MAKE) -C start rebuild
	$(MAKE) -C cachemanager rebuild
	$(MAKE) -C scaler rebuild

install:
	$(MAKE) -C util install
	$(MAKE) -C listener install
	$(MAKE) -C api install
	$(MAKE) -C cmdline install
	$(MAKE) -C connection install
	$(MAKE) -C connections install
	$(MAKE) -C start install
	$(MAKE) -C cachemanager install
	$(MAKE) -C scaler install

uninstall:
	$(MAKE) -C util uninstall
	$(MAKE) -C listener uninstall
	$(MAKE) -C api uninstall
	$(MAKE) -C cmdline uninstall
	$(MAKE) -C connection uninstall
	$(MAKE) -C connections uninstall
	$(MAKE) -C start uninstall
	$(MAKE) -C cachemanager uninstall
	$(MAKE) -C scaler uninstall
